<template>
  <div>
    <h1>App</h1>

    <FancyList api-url="http://localhost:3000/cinemas" :height="400">
      <template v-slot="{ item }">
        <div>{{ item.name }}</div>
      </template>
    </FancyList>

    <hr />

    <!-- <FancyList api-url="http://localhost:3000/cinemas">
      <template v-slot="{ item }">
        <div>{{ item.name }}</div>
      </template>
    </FancyList> -->
  </div>
</template>

<script lang="ts" setup>
import FancyList from "./components/FancyList.vue";
</script>
